//
//  HYDealViewController.m
//  HaiYue
//
//  Created by skyline on 2018/1/25.
//  Copyright © 2018年 skyline. All rights reserved.
//

#import "HYDealViewController.h"
#import "HYBuyGameCountTableView.h"
@interface HYDealViewController ()
@property (nonatomic, strong) HYBuyGameCountTableView *dealTableView;
@end

@implementation HYDealViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"成交动态";
    self.dealTableView.hidden = NO;
    // Do any additional setup after loading the view.
}

- (HYBuyGameCountTableView *)dealTableView
{
    if (!_dealTableView)
    {
        _dealTableView = [[HYBuyGameCountTableView alloc] init];
        [self.view addSubview:_dealTableView];
        [_dealTableView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.view);
            make.left.equalTo(self.view);
            make.size.mas_equalTo(CGSizeMake(SCREEN_WIDTH, SCREEN_HEIGHT - NAVIBAR_HEIGHT - STATUS_HEIGHT));
        }];
    }
    return _dealTableView;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
